/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package encaps.entities;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;
import javax.ejb.EJBLocalObject;

/**
 *
 * @author Дима
 */
public interface UserLocal extends EJBLocalObject {
    Long getID();       
    String getAvatar();
    void setAvatar(String avatar);
    String getRole();
    void setRole(String role);
    void setRole(Role r);
    String getInfo();
    void setInfo(String info);
    String getEmail();
    void setEmail(String email);
    String getContacts();
    void setContacts(String contacts);
    String getLogin();
    void setLogin(String login);
    String getPassword();
    void setPassword(String value) throws NoSuchAlgorithmException,
         UnsupportedEncodingException;
}
